import request from '@/utils/request'

export const addDataAPI = obj => {
  return request.post('/my/article/add', obj)
}

export const getArticleAPI = params => {
  return request({
    method: 'get',
    url: '/my/article/list',
    params: params
  })
}
